package com.baiduspring.dao.mapper;

import com.baiduspring.dao.entity.FollowAuthor;
import com.baiduspring.dao.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
@Mapper
public interface FollowAuthorMapper {
    int deleteByPrimaryKey(Long id);

    int insert(FollowAuthor record);

    int insertSelective(FollowAuthor record);

    FollowAuthor selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(FollowAuthor record);

    int updateByPrimaryKey(FollowAuthor record);

    List<FollowAuthor> selectBySelective(FollowAuthor record);

    List<User> selectUserBySelective(FollowAuthor record);

    int countBySelective(FollowAuthor record);
}